﻿-- New method, have templates & modifiers
OZ_PRESET_TEMPLATES = {
    ["Common"] = {
        ["topCol"] = {["a"] = 0.5,["b"] = 1,["g"] = 1,["r"] = 0,},
        ["bottomCol"] = {["a"] = 0.5,["b"] = 0.6,["g"] = 0,["r"] = 0},
        ["maxBars"] = 40,
        ["barHeight"] = 16,
        ["titleHeight"] = 20,
        ["refresh"] = 0.5,
        ["barTexture"] = "Interface\\Addons\\OzRaid\\bar10",
        ["buttonSize"] = 16,
        ["classNames"] = 1,
        ["width"] = 120,
        ["textSize"] = 12,
        ["nameSize"] = 12,
        ["numSize"] = 12,
        ["barGap"] = 0,
        ["buffSize"] = 1,
        ["active"] = 1,
        ["minBars"] = 0,
		["fadeAlpha"] = 0.4,
		["nameStyle"] = 1,
    },
    ["Raid Overview"] = {
        ["sort1"] = 3,
        ["sort2"] = 0,
        ["sort3"] = 0,
        ["showDebuffIcon"] = 1,
        ["icon"] = 1,
        ["colour"] = 2,
        ["heading"] = { 3,0,0 },
        ["namePos"] = 4,
        ["barDebuffCol"] = 1,
        ["buffPos"] = 2,
        ["nameOnStatus"] = 1,
        ["valueType"] = 1,
        ["rangeFade"] = 1,
        ["showMana"] = 1,
        ["input"] = 1,
        ["tooltips"] = 1,
    },
    ["Mana by class"] = {
        ["sort1"] = 4,
        ["sort2"] = 0,
        ["sort3"] = 0,
        ["icon"] = 1,
        ["colour"] = 3,
        ["heading"] = {0,0,0},
        ["namePos"] = 1,
        ["hideGlow"] = 1,
        ["valuePos"] = 3,
        ["buffPos"] = 2,
        ["hideEmpty"] = 1,
        ["nameOnStatus"] = 1,
        ["valueType"] = 2,
        ["classNames"] = 1,
        ["hideIcon"] = 1,
        ["hideSolo"] = 1,
        ["input"] = 4,
    },
    ["Main Tanks"] = {    
        ["sort1"] = 0,
        ["sort2"] = 0,
        ["sort3"] = 0,
        ["icon"] = 1,
        ["colour"] = 2,
        ["heading"] = {0,0,0},
        ["namePos"] = 4,
        ["hideGlow"] = 1,
        ["outlineNames"] = 1,
        ["buffPos"] = 1,
        ["active"] = 1,
        ["hideEmpty"] = 1,
        ["nameOnStatus"] = 1,
        ["valueType"] = 1,
        ["rangeFade"] = "none",
        ["hideParty"] = 1,
        ["input"] = 8,
        ["classNames"] = 1,
        ["hideSolo"] = 1,
    },
    ["MT T T"] = {
        ["sort1"] = 0,
        ["sort2"] = 0,
        ["sort3"] = 0,
        ["colour"] = 2,
        ["heading"] = {0,0,0,},
        ["namePos"] = 4,
        ["hideGlow"] = 1,
        ["barDebuffCol"] = 1,
        ["buffPos"] = 1,
        ["hideEmpty"] = 1,
        ["valueType"] = 2,
        ["hideSolo"] = 1,
        ["classNames"] = 1,
        ["hideParty"] = 1,
        ["hideIcon"] = 1,
        ["input"] = 10,
        ["icon"] = 1,
    },
    ["MT Targets"] = {
        ["sort1"] = 0,
        ["sort2"] = 0,
        ["sort3"] = 0,
        ["hideSolo"] = 1,
        ["colour"] = 2,
        ["heading"] = {0,0,0},
        ["namePos"] = 1,
        ["hideGlow"] = 1,
        ["barDebuffCol"] = 1,
        ["valuePos"] = 3,
        ["buffPos"] = 3,
        ["hideEmpty"] = 1,
        ["nameOnStatus"] = 1,
        ["valueType"] = 2,
        ["icon"] = 1,
        ["hideParty"] = 1,
        ["buffSize"] = 1,
        ["input"] = 9,
    }, -- [7]
    ["No Buffs"] = {
        ["buffsMob"] = {},
        ["buffsPlayer"] = {},
    },
    ["Major Raid Buffs"] = {
        ["buffsMob"] = {},
        ["buffsPlayer"] = {
            ["Interface\\Icons\\Spell_Shadow_AntiShadow"] = {2,"Shadow Protection"},
            ["Interface\\Icons\\Spell_Holy_WordFortitude"] = {1,"Power Word: Fortitude"},
            ["Interface\\Icons\\Spell_Holy_MagicalSentry"] = {0,"Arcane Intellect"},
            ["Interface\\Icons\\Spell_Nature_GiftoftheWild"] = {3,"Gift of the Wild"},
            ["Interface\\Icons\\Spell_Holy_PrayerofShadowProtection"] = {2,"Prayer of Shadow Protection"},
            ["Interface\\Icons\\Spell_Holy_ArcaneIntellect"] = {0,"Arcane Brilliance"},
            ["Interface\\Icons\\Spell_Holy_PrayerOfFortitude"] = {1,"Prayer of Fortitude"},
            ["Interface\\Icons\\Spell_Nature_Regeneration"] = {3,"Mark of the Wild"},
        },
    },
    ["Mob Buffs"] = {
        ["buffsMob"] = {
            ["Interface\\Icons\\Spell_Shadow_ChillTouch"] = {3,"Curse of the Elements"},
            ["Interface\\Icons\\Spell_Magic_PolymorphPig"] = {2,"Polymorph: Pig"},
            ["Interface\\Icons\\Ability_Hunter_Pet_Turtle"] = {2,"Polymorph: Turtle"},
            ["Interface\\Icons\\Spell_Nature_Slow"] = {2,"Shackle Undead"},
            ["Interface\\Icons\\Spell_Frost_FrostBlast"] = {3,"Winters Chill"},
            ["Interface\\Icons\\Spell_Holy_RighteousnessAura"] = {2,"Judgement of Wisdom"},
            ["Interface\\Icons\\Ability_Sap"] = {2,"Sap"},
            ["Interface\\Icons\\Spell_Nature_Sleep"] = {2,"Hibernate"},
            ["Interface\\Icons\\Spell_Nature_Polymorph"] = {2,"Polymorph"},
            ["Interface\\Icons\\Ability_Warrior_Sunder"] = {3,"Sunder Armor"},
            ["Interface\\Icons\\Shadow_Cripple"] = {2,"Banish"},
            ["Interface\\Icons\\Ability_Hunter_SniperShot"] = {3,"Hunter's Mark"},
            ["Interface\\Icons\\Spell_Shadow_MindSteal"] = {2,"Mind Control"},
        },
        ["buffsPlayer"] = {},
    },
    ["All Filters"] = {
        ["filter"] =
        {
            ["status"] = {
                ["inrange"] = 1,
                ["close"] = 1,
                ["curable"] = 1,
                ["buffed"] = 1,
                ["outofrange"] = 1,
                ["online"] = 1,
                ["notbuffed"] = 1,
                ["injured"] = 1,
                ["dead"] = 1,
                ["offline"] = 1,
                ["healthy"] = 1,
                ["notcurable"] = 1,
            },
            ["class"] = {
                ["DEATHKNIGHT"] = 1,
                ["HUNTER"] = 1,
                ["WARRIOR"] = 1,
                ["TARGET"] = 1,
                ["PALADIN"] = 1,
                ["MAGE"] = 1,
                ["PRIEST"] = 1,
                ["ROGUE"] = 1,
                ["WARLOCK"] = 1,
                ["PET"] = 1,
                ["DRUID"] = 1,
                ["SHAMAN"] = 1,
--                ["DEATHKNIGHTPET"] = 1,   -- Ignore temporary pets
                ["HUNTERPET"] = 1,
--                ["MAGEPET"] = 1,
--                ["PRIESTPET"] = 1,
--                ["SHAMANPET"] = 1,
                ["WARLOCKPET"] = 1,
            },
            ["injuredVal"] = 1,
            ["group"] = {1,1,1,1,1,1,1,1},
        },
    },
    ["Mana Users"] = {
        ["filter"] =
        {
            ["status"] = {
                ["inrange"] = 1,
                ["close"] = 1,
                ["curable"] = 1,
                ["buffed"] = 1,
                ["outofrange"] = 1,
                ["online"] = 1,
                ["notbuffed"] = 1,
                ["injured"] = 1,
                ["dead"] = 1,
                ["offline"] = 1,
                ["healthy"] = 1,
                ["notcurable"] = 1,
            },
            ["class"] = {
                ["HUNTER"] = 1,
                ["PALADIN"] = 1,
                ["MAGE"] = 1,
                ["PRIEST"] = 1,
                ["WARLOCK"] = 1,
                ["DRUID"] = 1,
                ["SHAMAN"] = 1,
            },
            ["injuredVal"] = 1,
            ["group"] = {1,1,1,1,1,1,1,1,1},
        },
    },
};


OZ_PRESETS = {
	["通常"] = {
		["Raid模式+Buffs"] = {
            ["templates"] = {
                OZ_PRESET_TEMPLATES["Common"],
                OZ_PRESET_TEMPLATES["Raid Overview"],
                OZ_PRESET_TEMPLATES["Major Raid Buffs"],
                OZ_PRESET_TEMPLATES["All Filters"],
            },
            ["custom"] = {
                ["text"] = "Raid View",
            },
		},
		["施法职业"] = {
            ["templates"] = {
                OZ_PRESET_TEMPLATES["Common"],
                OZ_PRESET_TEMPLATES["Mana by class"],
                OZ_PRESET_TEMPLATES["No Buffs"],
                OZ_PRESET_TEMPLATES["Mana Users"],
            },
            ["custom"] = {
                ["maxBars"] = 8,
                ["text"] = "Class Mana",
            },
        },
		["主坦克"] = {
            ["templates"] = {
                OZ_PRESET_TEMPLATES["Common"],
                OZ_PRESET_TEMPLATES["Main Tanks"],
                OZ_PRESET_TEMPLATES["No Buffs"],
                OZ_PRESET_TEMPLATES["All Filters"],
            },
            ["custom"] = {
                ["maxBars"] = 10,
                ["text"] = "Main Tanks",
                ["refresh"] = 0.2,
            },
		}, 
		["主坦克目标的目标"] = {
            ["templates"] = {
                OZ_PRESET_TEMPLATES["Common"],
                OZ_PRESET_TEMPLATES["MT T T"],
                OZ_PRESET_TEMPLATES["No Buffs"],
                OZ_PRESET_TEMPLATES["All Filters"],
            },
            ["custom"] = {
                ["maxBars"] = 10,
                ["text"] = "MT T's T",
                ["refresh"] = 0.3,
            },
        },        
		["主坦克目标"] = {
            ["templates"] = {
                OZ_PRESET_TEMPLATES["Common"],
                OZ_PRESET_TEMPLATES["MT Targets"],
                OZ_PRESET_TEMPLATES["Mob Buffs"],
                OZ_PRESET_TEMPLATES["All Filters"],
            },
            ["custom"] = {
                ["maxBars"] = 10,
                ["text"] = "MT Targets",
                ["refresh"] = 0.3,
            },
        },
	},
};
